package org.rupa.core.config;

import org.rupa.common.model.RegistryInfo;
import org.rupa.core.register.DefaultRegister;
import org.rupa.core.register.Register;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.context.annotation.Bean;

@SpringBootConfiguration
public class RegisterConfig {
    @Bean
    public Register getRegister() {
        return new DefaultRegister();
    }

    @Bean
    public RegistryInfo getRegistryInfo() {
        return new RegistryInfo();
    }
}
